package com.wu.dao.weixin.dao;


import com.wu.common.dao.BaseDao;
import com.wu.common.page.PageQueryWrapper;
import com.wu.common.query.PageQuery;

import com.wu.entity.weixin.po.WeixinReceivetext;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 描述：</b>消息存储<br>
 * @author：LeeShaoQing
 * @since：2018年07月25日 16时02分13秒 星期三 
 * @version:1.0
 */
public interface WeixinReceivetextDao extends BaseDao<WeixinReceivetext> {
	
	public Integer count(PageQuery<WeixinReceivetext> pageQuery);
	
	public List<WeixinReceivetext> queryPageList(PageQueryWrapper<WeixinReceivetext> wrapper);

	public List<Map<String, Object>> queryAllChatLog(
            WeixinReceivetext weixinReceivetext);

	public List<Map<String, Object>> queryMoreChatLog(
			@Param("fromUserName") String fromUserName, @Param("toUserName") String toUserName, @Param("firstRecordTime") String firstRecordTime);
	
}

